package com.atguigu.spring6.di_test;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test_list {
    @Test
    public void test(){
        ApplicationContext context = new ClassPathXmlApplicationContext("list_test.xml");
        dept dept = (dept) context.getBean("dept");
        dept.info();
    }
}
